//字符串驼峰转横杠
type KebabCase<
  T extends string,
  F extends string = "",
  
> = T extends `${infer L}${infer R}`
  ? KebabCase<R, L extends Capitalize<L> ? `${F}-${Lowercase<L>}` : `${F}${L}`>
  : RemoveFirst<F,'-'>;
export type RemoveFirst<T,S extends string>=T extends `${S}${infer R}`? R :''
type A1 = KebabCase<"HandleHongZhang">;

export {};
